<extend name="Public/index"/>
<block name="content">
<div id="page-wrapper">
    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header">用户修改</h1>
        </div>
        <!-- /.col-lg-12 -->
    </div>
   <div class="row">
       <div class="col-lg-12">
           <div class="panel panel-default">
               <div class="panel-heading">
                  请修改用户信息
               </div>
               <div class="panel-body">
                   <div class="row">
                       <div class="col-lg-6">
                           <form role="form" action="{:U('Admin/User/update')}" method="post" enctype="multipart/form-data">
                               <input type="hidden" name="id" value="{$info.id}">
                               <div class="form-group">
                                   <label>用户名</label>
                                   <input value="{$info.username}" name="username" placeholder="请输入6~18位数字,字母,下划线" class="form-control">
                               </div>
                               <div class="form-group">
                                   <label>密码</label>
                                   <input value="{$info.password}" type="password" name="password" placeholder="请输入6~18位数字,字母,下划线" class="form-control">
                               </div>
                               <div class="form-group">
                                   <label>邮箱</label>
                                   <input value="{$info.email}" type="text" name="email" placeholder="请输入合法邮箱账号" class="form-control">
                               </div>
                               <div class="form-group">
                                   <label>积分</label>
                                   <input value="{$info.score}" type="text" name="score" placeholder="请输入合法邮箱账号" class="form-control">
                               </div>
                               <div class="form-group">
                                   <label>会员等级</label>
                                   <input value="{$info.member}" type="text" name="member" placeholder="请输入合法的会员等级" class="form-control">
                               </div>

                               <button class="btn btn-warning" type="reset">重置</button>
                               <button class="btn btn-info" type="submit">提交</button>
                           </form>
                       </div>
                 <!--   http://localhost/Class/s43/project/index.php/Admin/User/add.html
                   http://localhost/Class/s43/project/index.php/Admin/User/add.shtml
                   lamp43/Admin/User/add
                   lamp43/Admin/User/add.html -->
                   </div>
                   <!-- /.row (nested) -->
               </div>
               <!-- /.panel-body -->
           </div>
           <!-- /.panel -->
       </div>
       <!-- /.col-lg-12 -->
   </div>
</div>
</block>